﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;

namespace DocManagerORM.Utils
{
   public class Win32_Process 
    {
        string Caption;
        string CommandLine;
        string CreationClassName;
        DateTime CreationDate;
        string CSCreationClassName;
        string CSName;
        string Description;
        string ExecutablePath;
        int ExecutionState;
        string Handle;
        int HandleCount;
        DateTime InstallDate;
        UInt64 KernelModeTime;
        int MaximumWorkingSetSize;
        int MinimumWorkingSetSize;
        string Name;
        string OSCreationClassName;
        string OSName;
        UInt64 OtherOperationCount;
        UInt64 OtherTransferCount;
        int PageFaults;
        int PageFileUsage;
        int ParentProcessId;
        int PeakPageFileUsage;
        UInt64 PeakVirtualSize;
        int PeakWorkingSetSize;
        int Priority;
        UInt64 PrivatePageCount;
        int ProcessId;
        int QuotaNonPagedPoolUsage;
        int QuotaPagedPoolUsage;
        int QuotaPeakNonPagedPoolUsage;
        int QuotaPeakPagedPoolUsage;
        UInt64 ReadOperationCount;
        UInt64 ReadTransferCount;
        int SessionId;
        string Status;
        DateTime TerminationDate;
        int ThreadCount;
        UInt64 UserModeTime;
        UInt64 VirtualSize;
        string WindowsVersion;
        UInt64 WorkingSetSize;
        UInt64 WriteOperationCount;
        UInt64 WriteTransferCount;
    }

    //SELECT ThreadCount FROM Win32_Process WHERE ThreadCount>10
}
